package com.zaimokuza.cn.entity.user;

import com.zaimokuza.cn.entity.auth.Resources;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;

/**
 * @author zaimokuza
 */
@ApiModel("用于登录及登录返回的用户对象")
@Data
@ToString
public class LoginUser {

    @ApiModelProperty("用户ID")
    private String id;
    @ApiModelProperty("手机号")
    private Long phone;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("昵称")
    private String name;
    @ApiModelProperty("域名")
    private String domain;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("资源列表")
    private ArrayList<Resources> resourcesList;

}
